package com.company;

import com.google.gson.annotations.SerializedName;
import java.util.List;
import java.util.Map;

public class GameStateJson {
    @SerializedName("currentPlayer")
    private String currentPlayer;

    @SerializedName("lastPlayedCards")
    private List<String> lastPlayedCards;

    @SerializedName("gameStatus")
    private String gameStatus;

    @SerializedName("players")
    private List<String> players;

    @SerializedName("playerHands")
    private Map<String, List<String>> playerHands;

    // Getter方法
    public String getCurrentPlayer() { return currentPlayer; }
    public List<String> getLastPlayedCards() { return lastPlayedCards; }
    public String getGameStatus() { return gameStatus; }
    public List<String> getPlayers() { return players; }
    public Map<String, List<String>> getPlayerHands() { return playerHands; }
}